> -----Original Message-----
> From: dan.j.williams [at] gmail.com [mailto:dan.j.williams [at] gmail.com] On
> Behalf Of Dan Williams
> Sent: Thursday, July 22, 2010 2:59 AM
> To: Trela, Maciej
> Cc: Neil Brown; Kwolek, Adam; linux-raid [at] vger.kernel.org
> Subject: Re: [PATCH 1/2] md: raid5 return new layout in mdstat while
> reshaping
>
> On Wed, Jul 21, 2010 at 4:03 AM, Trela, Maciej <Maciej.Trela [at] intel.com>
> wrote:
> > From: Maciej Trela <maciej.trela [at] intel.com>
> >
> > While reshaping, report mdstat algorithm according to the new_layout.
>
> It's not immediately clear to me why this is needed? The md/layout
> attribute in sysfs shows the new_layout during reshape if userspace
> forgets what it changed (should also be recorded in the metadata). If
> it is needed then spell that out in the commit message.
>
Yes, you are right.
We can definitely read the new layout from sysfs.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
